{extend name="public:base" /}
{block name="content"}
<link rel="stylesheet" href="__CSS__/addcomon.css">
<div class="row" style="padding:15px;">
    <div class="col-xs-12">
        <form class="ajaxForm3" action="{:url('addrun')}" method="post">
            <div class="box">
            <div class="box-header" data-original-title="" style="height: 40px;">
                <h2><i class="glyphicon glyphicon-plus"></i>新增门店</h2>
            </div>
            <div class="add-box">
                <div class="box-left">
                    <div class="form-group">
                        <label>门店名称:</label>
                        <input type="text" name="title"  required class="form-control">
                    </div>
                    <div class="form-group">
                        <label>部门:</label>
                        <select class="form-control" name="depar_id">
                            <option value="">请选择部门</option>
                            {volist name="depar" id="vo"}
                                <option value="{$vo.id}">{$vo.name}</option>
                            {/volist}
                        </select>
                    </div>
                    <div class="form-group">
                        <label>地区:</label>
                        <select class="form-control" name="dq_id">
                            <option value="">请选择地区</option>
                            {volist name="dq" id="vo"}
                            <option value="{$vo.id}">{$vo.name}</option>
                            {/volist}
                        </select>
                    </div>
                    <div class="form-group">
                        <label>排序:</label>
                        <input name="sort" type="text" value="50"/>
                    </div>
                    <div class="form-group">
                        <label>是否启用:</label>
                        <input name="status" value="1" type="checkbox" checked/>
                    </div>
                </div>
                <div class="box-right">
                    <div class="form-group">
                        <label>门店地址:</label>
                        <input name="address" type="text" value="" placeholder="门店地址" class="form-control"/>
                    </div>
                    <div class="form-group">
                        <label>门店电话:</label>
                        <input name="tel" type="text" value="" placeholder="门店电话" class="form-control"/>
                    </div>
                </div>
                <div class="btn-box">
                    {:token()}
                    <button type="submit" class="btn btn-color-o" id="submit">确定</button>
                    <button type="reset" class="btn btn-color-g">返回</button>
                </div>
            </div>
        </div>
        </form>
    </div>
</div>
{/block}
{block name="js"}
<script>
    highlight_subnav("{:url('index')}");
</script>'
{/block}